package cn.xunjie.ymcc.service;

import cn.xunjie.ymcc.domain.Course;
import cn.xunjie.ymcc.dto.CourseDto;
import cn.xunjie.ymcc.result.JSONResult;
import cn.xunjie.ymcc.vo.CourseDetilVo;
import cn.xunjie.ymcc.vo.CourserOrderVo;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xue.jiao
 * @since 2022-07-21
 */
public interface ICourseService extends IService<Course> {

    void save(CourseDto dto);

    void onLineCourse(Long courseId);

    void offLineCourse(Long courseId);

    JSONResult commonmessages(Course course);

    CourseDetilVo CourseDetail(Long courseId);

    CourserOrderVo courserOrderVo(String courseIds);
}
